-- GENERATED SPELL FOR [Ember Worg] --


function spell0_9690(pUnit, Event) --@Infected Bite,n/a--
pUnit:FullCastSpellOnTarget(7367,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9690', 30000, 1)
end

function Sorts_9690(pUnit, Event)
local choix_sorts_9690 = math.random(0, 0)
if choix_sorts_9690 == 0 then
pUnit:RegisterEvent('spell0_9690', 1, 1)
end
end

function mob9690_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9690', math.random(1500, 3000), 1)
end

function mob9690_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9690_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9690_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9690, 1, 'mob9690_Action')
RegisterUnitEvent(9690, 2, 'mob9690_Leave')
RegisterUnitEvent(9690, 3, 'mob9690_Kill')
RegisterUnitEvent(9690, 4, 'mob9690_Die')
